<div class="main">
	<h1>Log in</h1>
	<form action="<?php echo $base.'home/login' ?>" method="post">
		<?php if (isset($error)) { ?>
		<p class="validation_error"><?php echo $error ?></p>
		<?php } ?>
		<table>
			<tr>
				<td><label for="email">Email address:</label></td>
				<td><input id="email" name="email" type="text"/></td>
			</tr>
			<tr>
				<td><label for="password">Password:</label></td>
				<td><input id="password" name="password" type="password"/></td>
			</tr>
			<tr>
				<td><input type="submit" value="Log in"/></td>
				<td><a href="<?php echo $base.'home/forgot_password' ?>">Forgot your password?</a></td>
			</tr>
		</table>
	</form>
</div>